//
//  FWAccessToken.m
//  FWShare
//
//  Created by 范文青 on 14-6-14.
//  Copyright (c) 2014年 fwq. All rights reserved.
//

#import "FWAccessToken.h"

@implementation FWAccessToken
+ (id)instanceSina:(NSDictionary *)sinaToken
{
    return [[self alloc] initWithDictionary:sinaToken];
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
}
+ (id)instanceQQWeiBo:(NSString *)openid openKey:(NSString *)openKey accessToken:(NSString *)accessToken
{
    FWAccessToken  *token = [FWAccessToken new];
    [token setAccess_token:accessToken];
    [token setUid:openid];
    [token setUid2:openKey];
    return token;
}
+ (id)instanceQQHuLian:(NSString *)openid accessToken:(NSString *)accessToken
{
    FWAccessToken  *token = [FWAccessToken new];
    [token setAccess_token:accessToken];
    [token setUid:openid];
    return token;
}
@end
